{% extends "core/base_core.html" %}
{% block content %}
{% load markup %}
<div class="article container_16">
  <div class="whats-open-party grid_14">
    <h2>OpenParty是什么？</h2>
    <p>OpenParty是由北京的多个技术社区共同举办的社交活动。本着自由、开放、分享、互动的宗旨，采用“非会议（Unconference）”的形式， 为参与人员创建一个表达和交流的平台。本活动的目标<strong>给参与者提供一个平等、自由的分享与获取知识的机会</strong>。活动话题不仅仅局限于技术，还包括生活、旅游、艺术、创业、商务、投资、营销等各方面的话题。</p>
  </div>
</div>

<div id="content" class="content">
  <div class="container_16">
    <div class="next-event event grid_8" itemscope itemtype="http://data-vocabulary.org/Event">
      <h2>本月活动 <span class="event-name"><a href="/event/{{next_event.id}}">{{next_event.name}}</a></span></h2>
      <dl class="meta">
        <dt>时间：</dt><dd>{{next_event.begin_time}}</dd>
      </dl>
      <dl class="meta">
        <dt>地点：</dt><dd>{{next_event.address}}</dd>
      </dl>
      <div class="event-poster" style="background-image: url({{next_event.poster}})">
        <img src="{{next_event.poster}}" alt="下次活动海报" width="460" height="252" />
      </div>
    </div>
    <div class="grid_7 prefix_1">
      <div class="join-us">
        <h2>加入活动 / Join us</h2>
        <ul>
          <li class="join-event {{ next_event.css_class }}"><a href="/event/join">报名参加本次活动</a></li>
          <li class="contribute-topic"><a href="{% url submit_new_topic %}">准备贡献话题？</a></li>
          <li class="google-groups"><a href="https://groups.google.com/group/beijing-open-party">参与Google Groups讨论</a></li>
          <li class="blog-us">写博客报道您参加Open Party的感想</li>
          <li class="rss"><a href="#">社区活动信息RSS订阅</a></li>
          <li class="facebook"><a href="http://www.facebook.com/group.php?gid=8159558294">Join us on Facebook</a></li>
          <li class="twitter"><a href="https://twitter.com/openparty">Follow Twitter <strong>@openparty</strong></a></li>
          <li class="twitter-tag"><a href="http://search.twitter.com/search?q=%23openparty">关注和使用Twitter Tag <strong>#openparty</strong></a></li>
        </ul>
      </div>
      <div class="top-sponsors">
        <h2>钻石赞助商</h2>
        <ul>
          <li><a href="http://www.thoughtworks.com">ThoughtWorks</a></li>
          <li><a href="http://www.google.com.hk/">谷歌中国</a></li>
          <li><a href="http://www.matrix.org.cn">Matrix.org.cn</a></li>
          <li><a href="http://www.jetbrains.com">JetBrains</a></li>
        </ul>
      </div>
    </div>
  </div>
  <div class="clear"></div>
  <div class="container_12">
    <div class="entries events grid_4">
      <h2>以往活动</h2>
      <ul>
      {% for event in event_list %}
          <li>
            <h4><a href="/event/{{event.id}}">{{ event.name }}</a></h4>
            <p>{{ event.description }} <a href="/event/{{ event.id }}" class="more">查看更多</a></p>
          </li>
      {% endfor %}
      </ul>
    </div>
    <div class="entries topics grid_4">
      <h2>精彩演讲话题</h2>
      <ul>
        {% for topic in topic_list %}
          <li>
            <h4><a href="/topic/{{topic.id}}">{{ topic.name }}</a></h4>
            <p>{{ topic.summary }} <a href="/topic/{{topic.id}}" class="more">查看更多</a></p>
          </li>
        {% endfor %}
      </ul>
    </div>
    <div class="entries posts grid_4">
      <h2>社区活动广播</h2>
      <ul class="posts">
        {% for post in post_list %}
          <li>
            <h4 class="post-title post-title_{{ post.style_seed }}">
              <a href="{% url view_post_by_name name=post.post_name %}">{{ post.title }}</a>
              <span class="meta"><span class='created-at'>{{ post.created_at|date }}</span></span>
            </h4>
            <div class="description">{{ post.summary|restructuredtext }}</div>
          </li>
        {% endfor %}
      </ul>
    </div>
  </div>
</div>
{% endblock %}
